<?php

require_once ('libs/com/yamvc/event/Event.class.php');

class MenuEvent extends Event {
	const ITEM_CLICK="itemClick";
	private $_place;
	public function getPlace(){
		return $this->_place;
	}
	public function __construct($type,$params){
		parent::__construct($type);
		$this->_place = $params[0];
	}
	
	public function __toString(){
		return "MenuEvent:".$this->getType()."(".$this->getPlace().")";
	}
}

?>